<%@ page import="java.util.*"%>
<%@ page import="org.json.*"%>
<%@ page import="com.gzgi.framework.*"%>
<%@ page import="com.gzgi.framework.el.*"%>
<%@ page import="com.gzgi.framework.util.*"%>
<%@ page import="com.gzgi.framework.config.*"%>
<%@ page import="com.gzgi.framework.context.*"%>
<%@ page import="com.gzgi.framework.entity.*"%>
<%@ page import="com.gzgi.framework.identity.*"%>
<%@ page import="com.gzgi.framework.tree.*"%>
<%@ page import="com.gzgi.framework.tree.helper.*"%>
<%@ page import="com.gzgi.framework.sys.model.*"%>
<%@ page import="com.gzgi.identity.model.*"%>
<%@ page import="org.apache.commons.lang.*"%>
<%@ taglib uri="/WEB-INF/tlds/oscache.tld" prefix="oscache"%>
<%@ taglib uri="/WEB-INF/tlds/jpage.tld" prefix="jpage"%>
<%@ taglib uri="/WEB-INF/tlds/fmt.tld" prefix="fmt"%>
<%@ taglib uri="/WEB-INF/tlds/c.tld" prefix="c"%>
<%
SecurityContext securityContext = com.gzgi.framework.util.RequestUtil.getSecurityContext(request);
if (securityContext == null) {
	   request.getRequestDispatcher("/index.jsp").forward(request, response);
	  return;
}
RequestUtil.setRequestParameterToAttribute(request);
String userAgent = request.getHeader("User-Agent");
String styles = "/pages/skins/blue/styles/styles.css";

if(securityContext.getString("SKIN_STYLE_CLASS") != null){
	styles = securityContext.getString("SKIN_STYLE_CLASS") ;
}

%>
<html>
<head>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/pages/styles/styles.css" />
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%><%=styles%>" />

<script language="javascript" src="<%=request.getContextPath()%>/scripts/main.js"></script>
<script language="javascript" src="<%=request.getContextPath()%>/scripts/verify.js"></script>
<script language="javascript" src="<%=request.getContextPath()%>/scripts/ajax.js"></script>

<% if(StringUtils.contains(userAgent, "MSIE")){%>
<script type="text/javascript" language="javascript">   
      document.onreadystatechange = function () {    
      if(document.readyState=="complete") {          
           document.getElementById('x_divprogressbar').style.display='none';    
          }   
     }                 
</script>

</head>
<body text="#000000" link="#000000" alink="#000000" vlink="#000000">

<div id="x_divprogressbar"
	style="position: absolute; width: 100%; height: 100%; left: 0px; top: 0px; background-color: #ffffff; filter: alpha (   opacity =   100 ); z-index: 50000">
<div style="text-align: center; padding-top: 200px">
<table align="center" border="1" width="37%" cellspacing="0"
	cellpadding="4" style="border-collapse: collapse" bgcolor="#FFFFEE"
	height="87">
	<tr>
		<td bgcolor="#3366AA" style="font-size: 12px;" height="24"
			align="center"><%=MessageProperties.getString("res_loading")%></td>
	</tr>
	<tr>
		<td style="font-size: 12px; line-height: 200%" align="center"><%=MessageProperties.getString("res_waiting")%>
		<marquee style="border: 1px solid #000000" direction="right"
			width="300" scrollamount="5" scrolldelay="10" bgcolor="#ECF2FF">
		<table cellspacing="1" cellpadding="0">
			<tr height="8">
				<td bgcolor="#3399FF" width="8"></td>
				<td></td>
				<td bgcolor="#3399FF" width="8"></td>
				<td></td>
				<td bgcolor="#3399FF" width="8"></td>
				<td></td>
				<td bgcolor="#3399FF" width="8"></td>
				<td></td>
			</tr>
		</table>
		</marquee></td>
	</tr>
</table>
</div>
</div>
<%}%>